package com.seraphine.demo2.controller;

import cn.hutool.json.JSONUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * 描述: 测试接口2
 * 作者: panhongtong
 * 创建时间: 2020-11-05 16:02
 **/
@RestController
public class Demo2Controller {

    @GetMapping("anonymous/demo2")
    public String demo2() {
        Map map = new HashMap();
        map.put("SB", "ZZ");
        return JSONUtil.toJsonStr(map);
    }

}
